package com.tistory.admin.adminmgr.auth.model;

import com.tistory.admin.adminmgr.auth.model.UserMember;

public class MemberInfo extends UserMember {

    /** idp 인증키*/
    private String authKey;
    /** idp 를 통해 인증받은 휴대폰*/
    private String[] mdns;

    public String getAuthKey() {
        return authKey;
    }

    public void setAuthKey( String authKey ) {
        this.authKey = authKey;
    }
    
    public String[] getMdns() {
        return mdns;
    }

    public void setMdns( String[] mdns ) {
        this.mdns = mdns;
    }

    public void setDefaultMemberInfo( UserMember member ) throws Exception {
        setMbrNo(member.getMbrNo());
        setMdnNo(member.getMdnNo());
        setMbrClsCd(member.getMbrClsCd());
        setMbrCatCd(member.getMbrCatCd());
        setDevTpCd(member.getDevTpCd());
        setDevMbrStatCd(member.getDevMbrStatCd());
        setMbrStatCd(member.getMbrStatCd());
        setMobileCnt(member.getMobileCnt());
        setMbrStartDt(member.getMbrStartDt());
        setMbrEndDt(member.getMbrEndDt());
        setMbrApprDt(member.getMbrApprDt());
        setMbrId(member.getMbrId());
        setMbrNm(member.getMbrNm());
        setBirthDt(member.getBirthDt());
        setBirthCls(member.getBirthCls());
        setSex(member.getSex());
        setZipCd(member.getZipCd());
        setHomeAddr(member.getHomeAddr());
        setHomeAddrDtl(member.getHomeAddrDtl());
        setEmailAddr(member.getEmailAddr());
        setEmailYn(member.getEmailYn());
        setRealNmAuthYn(member.getRealNmAuthYn());
        setNateIdUseYn(member.getNateIdUseYn());
        setNateIdStartDt(member.getNateIdStartDt());
        setSmsYn(member.getSmsYn());
        setPubAuthYn(member.getPubAuthYn());
        /** 담당자 관련 */
        setOpNm(member.getOpNm());
        setOpEmailAddr(member.getOpEmailAddr());
        setOpTelNo(member.getOpTelNo());
        setOpHpNo(member.getOpHpNo());
        /** 사업자 관련 */
        setCompNm(member.getCompNm());
        setBizRegNo(member.getBizRegNo());
        setBizCondNm(member.getBizCondNm());
        setBizKindNm(member.getBizKindNm());
        setBizCatCd(member.getBizCatCd());
        setBizTelNo(member.getBizTelNo());
        setBizFaxNo(member.getBizFaxNo());
        setBizHotHpNo(member.getBizHotHpNo());
        setBizHotHpAuthYn(member.getBizHotHpAuthYn());
        setBizBpNm(member.getBizBpNm());
        setBizBpSocialNo(member.getBizBpSocialNo());
        setBizZipCd(member.getBizZipCd());
        setBizAddr(member.getBizAddr());
        setBizAddrDtl(member.getBizAddrDtl());
        setBizSailRegYn(member.getBizSailRegYn());
        setBizSailRegNo(member.getBizSailRegNo());
        setBizSailNoregCd(member.getBizSailNoregCd());
        /** 2009.4.9 추가컬럼 */
        setAcctNo(member.getAcctNo());
        setBackCd(member.getBackCd());
        setAcctNm(member.getAcctNm());
        setAuthYn(member.getAuthYn());
        setFilePath(member.getFilePath());
        setFileNm(member.getFileNm());
        setFileSize(member.getFileSize());
        /** PC Suite 관련 */
        setPcsuiteUseYn(member.getPcsuiteUseYn());
        setPcsuiteLastUseDts(member.getPcsuiteLastUseDts());
        setPcsuiteVersion(member.getPcsuiteVersion());
    }
}
